-- GENERATED SPELL FOR [Ragefire Trogg] --


function spell0_11318(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11318', 616, 1)
end

function Sorts_11318(pUnit, Event)
local choix_sorts_11318 = math.random(0, 0)
if choix_sorts_11318 == 0 then
pUnit:RegisterEvent('spell0_11318', 1, 1)
end
end

function mob11318_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11318', math.random(1500, 3000), 1)
end

function mob11318_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11318_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11318_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11318, 1, 'mob11318_Action')
RegisterUnitEvent(11318, 2, 'mob11318_Leave')
RegisterUnitEvent(11318, 3, 'mob11318_Kill')
RegisterUnitEvent(11318, 4, 'mob11318_Die')
